* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

.w {
    width: 1226px;
    margin: 0 auto;
}

.header .navBar {
    display: flex;
}

.header .navBar>li {
    flex: 1;
    border: 1px solid #333;
    text-align: center;
    line-height: 45px;
    position: relative;
}

.header .navBar>li>a {
    display: block;
}

.header .navBar>li>a.active {
    background-color: #6ff;
}

.header .navBar>li+li {
    border-left: 0;
}

.header .navBar>li>.subNav {
    position: absolute;
    width: 200px;
    background-color: pink;
    display: none;
}